<%@page language="java"
	import="java.sql.*,com.icss.utils.*,javax.naming.*,javax.sql.*,com.icss.beans.*,java.util.*"
	pageEncoding="UTF-8"%>


<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML xmlns=>
<HEAD>
<TITLE>Article</TITLE>
<META content="text/html; charset=gbk" http-equiv=Content-Type>


<META name=author content="Discuz! Team and Comsenz UI Team">
<META name=copyright content="2001-2009 Comsenz Inc.">
<META name=MSSmartTagsPreventParsing content=True>
<META content=Yes http-equiv=MSThemeCompatible>
<META content=ie=7 http-equiv=x-ua-compatible>
<LINK rel=archives href="">
<LINK rel=stylesheet type=text/css
	href="<%=basePath%>BBS/tiezi_files/style_7_common.css">
<LINK rel=stylesheet type=text/css
	href="<%=basePath%>BBS/tiezi_files/scriptstyle_7_viewthread.css">

<SCRIPT type=text/javascript
	src="<%=basePath%>BBS/tiezi_files/common.js"></SCRIPT>

<SCRIPT type=text/javascript
	src="<%=basePath%>BBS/tiezi_files/downopen.js"></SCRIPT>
</HEAD>
<BODY onkeydown="if(event.keyCode==27) return false;" id=viewthread>
<DIV id=append_parent></DIV>
<DIV id=ajaxwaitid></DIV>
<DIV id=header>
<DIV class="wrap s_clear">
<H2><A><IMG border=0 src="<%=basePath%>BBS/imag/logo_2.gif">
</A></H2>
<DIV id=umenu><A class=noborder
	href="<%=basePath%>BBS/userInfo.jsp"><%=(String) session.getAttribute("userName")%>
</A> <A class=noborder href="<%=basePath%>BBS/registerBBS.jsp">新注册ID</A> <A
	href="<%=basePath%>BBS/login.jsp"">登录</A> <A
	href="<%=basePath %>bbsLoginDealServlet?param=logout">注销</A></DIV>
<DIV id=ad_headerbanner></DIV>
<DIV id=menu>
<UL>
	<LI class=menu_1><A hideFocus id=mn_index
		href="<%=basePath%>BBS/mainBBS.jsp">论坛首页</A></LI>
	<LI class=menu_13><A hideFocus style="FONT-WEIGHT: bold"
		id=mn_blog href="<%=basePath%>BBS/userInfo.jsp" target=_blank>个人首页</A>
	</LI>
	<LI class=menu_4><A hideFocus id=mn_faq
		href="<%=basePath%>BBS/userArticle.jsp" target=_blank>我的帖子</A></LI>

	<LI class=menu_7><A hideFocus id=mn_theme
		href="<%=basePath%>BBS/userReply.jsp" target=_blank>我的回复</A></LI>
	<LI class=menu_2><A hideFocus id=mn_search
		href="<%=basePath%>BBS/search.jsp">搜索</A></LI>
	<LI class=menu_10><A hideFocus id=mn_my
		href="<%=basePath%>BBS/manager.jsp" target=_blank>站长</A></LI>
	<LI class=menu_6><A hideFocus id=mn_demo
		href="<%=basePath%>index.jsp" target=_parent>返回OA界面</A></LI>
</UL>
<SCRIPT type=text/javascript>
var currentMenu = $('mn_') ? $('mn_') : $('mn_index');
currentMenu.parentNode.className = 'current';
</SCRIPT></DIV>
</DIV>
<DIV style="DISPLAY: none" id=myprompt_menu class=promptmenu>
<DIV class=promptcontent>
<UL class=s_clear>
</UL>
</DIV>
</DIV>
</DIV>
<SCRIPT type=text/javascript
	src="<%=basePath%>BBS/tiezi_files/viewthread.js"></SCRIPT>

<SCRIPT type=text/javascript>zoomstatus = parseInt(1);var imagemaxwidth = '600';var aimgcount = new Array();</SCRIPT>



<DIV id=nav><A>简易BBS</A> &raquo;</DIV>
<DIV id=ad_img>
<DIV id=ad_img_l><A><IMG
	src="<%=basePath%>BBS/imag/top_ad_1.png" width=700 height=50> </A></DIV>
<DIV id=ad_img_r><A><IMG
	src="<%=basePath%>BBS/tiezi_files/top_ad_1_1.gif" width=260 height=50>
</A></DIV>
</DIV>


<DIV id=ad_text></DIV>
<DIV id=wrap class="wrap s_clear threadfix">
<DIV class=forumcontrol>


<TABLE cellSpacing=0 cellPadding=0>
	<TBODY>
		<TR>

			<TD>
			<DIV class=pages><STRONG>1</STRONG><A>2</A><A class=next>下一页</A>
			</DIV>
			<SPAN class=pageback><A>返回列表</A> </SPAN> <SPAN id=newspecial
				class=postbtn><A href="<%=basePath%>BBS/addArticle1.jsp">
			<IMG src="<%=basePath%>BBS/tiezi_files/newtopic.gif"></IMG> </A> </SPAN></TD>
		</TR>
	</TBODY>
</TABLE>
</DIV>



<jsp:useBean id="articledao" class="com.icss.daos.ArticleDao"></jsp:useBean>
<%
				int aid = Integer.parseInt(request.getParameter("aid"));
				ArticleVO articlevo = articledao.getArticleById(aid);
				articledao.close();
			%>



<DIV id=postlist class="mainbox viewthread">
<DIV id=post_628>
<TABLE id=pid628 cellSpacing=0 summary=pid628 cellPadding=0>
	<TBODY>
		<TR>
			<TD class=postauthor rowSpan=2>
			<DIV style="POSITION: absolute; DISPLAY: none" id=userinfo628
				class="popupmenu_popup userinfopanel">
			<DIV class=popavatar>
			<DIV id=userinfo628_ma></DIV>
			</DIV>
			<DIV class=popuserinfo>
			<P><A>咖啡</A> <EM>当前离线 </EM></P>

			<DIV class=imicons><A title=查看详细资料><IMG alt=查看详细资料
				src="<%=basePath%>BBS/tiezi_files/userinfo.gif"> </A></DIV>
			<DIV id=avatarfeed><SPAN id=threadsortswait></SPAN></DIV>
			</DIV>
			</DIV>
			<DIV>
			<DIV class=avatar onMouseOver="showauthor(this, 'userinfo628')">
			<A> <IMG src="<%=basePath%>BBS/tiezi_files/noavatar_middle.gif">
			</A></DIV>
			<P><EM><A><%=articlevo.getAuthorName()%> </A> </EM></P>
			</DIV>
			<P><IMG alt="Rank: 20"
				src="<%=basePath%>BBS/tiezi_files/star_level3.gif"> <IMG
				alt="Rank: 20" src="<%=basePath%>BBS/tiezi_files/star_level3.gif">
			<IMG alt="Rank: 20"
				src="<%=basePath%>BBS/tiezi_files/star_level3.gif"> <IMG
				alt="Rank: 20" src="<%=basePath%>BBS/tiezi_files/star_level3.gif">
			<IMG alt="Rank: 20"
				src="<%=basePath%>BBS/tiezi_files/star_level3.gif"></P>
			</TD>
			<TD class=postcontent>
			<DIV id=threadstamp></DIV>
			<DIV class=postinfo><STRONG> <EM class=rpostno title=>跳转到
			<INPUT
				onkeydown="if(event.keyCode==13) {$('rpostnobtn').click();return false;}"
				id=rpostnovalue class=txtarea size=3><SPAN id=rpostnobtn
				onclick="window.location='redirect.php?ptid=243&amp;ordertype=0&amp;postno='+$('rpostnovalue').value">&raquo;</SPAN>
			</EM> </STRONG>
			<DIV class=posterinfo>
			<DIV class=pagecontrol>

			<DIV class="msgfsize right"><LABEL> 字体大小: </LABEL> <SMALL
				title=正常>t</SMALL><BIG>T</BIG>
			</DIV>
			</DIV>
			<DIV class=authorinfo><IMG id=authicon628 class=authicon
				onclick="showauthor(this, 'userinfo628')"
				src="<%=basePath%>BBS/tiezi_files/online_admin.gif"> <A
				class=posterlink><%=articlevo.getAuthorName()%> </A><EM
				id=authorposton628>发表于<%=articlevo.getCreateTime()%> </EM> | <A
				rel=nofollow>只看该作者</A> &nbsp;&nbsp;&nbsp;&nbsp; <a
				href="<%=basePath%>BBS/reply1.jsp?aid=<%=articlevo.getAid()%>">回复</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a
				href="<%=basePath%>BBS/updateArticle1.jsp?aid=<%=articlevo.getAid()%>">修改</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a
				href="<%=basePath%>bbsDealServlet?param=deleteArticle&aid=<%=articlevo.getAid()%>">删除</a>

			</DIV>
			</DIV>
			</DIV>
			<DIV class=defaultpost>

			<DIV class="postmessage firstpost">
			<DIV id=threadtitle>

			<H1><%=articlevo.getArticleName()%></H1>
			</DIV>

			<DIV class=t_msgfontfix>

			<TABLE cellSpacing=0 cellPadding=0>
				<TBODY>
					<TR>
						<TD height="190" class=t_msgfont id=postmessage_628><%=articlevo.getArticleBody()%>

						<BR>
						<BR>
						<SCRIPT type=text/javascript>replyreload += ',' + 628;</SCRIPT></TD>
					</TR>
				</TBODY>
			</TABLE>
			<DIV id=relatedtags></DIV>
			<SCRIPT type=text/javascript
				src="<%=basePath%>BBS/tiezi_files/tag.htm" reload="1"></SCRIPT></DIV>
			<DIV id=post_rate_div_628></DIV>
			</DIV>
			</DIV>
			</TD>
		</TR>
		<TR>
			<TD height="18" class="postcontent postbottom">&nbsp;</TD>
		</TR>
		<TR>
			<TD class=postauthor></TD>
			<TD class=postcontent>
			<DIV class=postactions>
			<DIV class="postact s_clear"><EM></EM>
			<P></P>
			</DIV>
			</DIV>
			</TD>
		</TR>
		<TR class=threadad>
			<TD class=postauthor></TD>
			<TD class=adcontent>
			<DIV id=ad_interthread></DIV>
			</TD>
		</TR>
	</TBODY>
</TABLE>
</DIV>





<jsp:useBean id="replydao" class="com.icss.daos.ReplyDao"></jsp:useBean>

<%
					int id = Integer.parseInt(request.getParameter("aid"));
					ArrayList<ReplyVO> replyvos = replydao.getAllReplyByArticleID(id);

					for (ReplyVO replyvo : replyvos) {
						//for (BoardVO boardvo : boardvos)
				%>


<DIV>
<TABLE cellSpacing=0 summary=pid1306 cellPadding=0>
	<TBODY>

		<TR>
			<TD class=postauthor rowSpan=2>
			<DIV style="POSITION: absolute; DISPLAY: none" id=userinfo1306
				class="popupmenu_popup userinfopanel">
			<DIV class=popavatar>
			<DIV id=userinfo1306_ma></DIV>
			</DIV>
			<DIV class=popuserinfo>
			<P><A><%=replyvo.getReplyName()%> </A></P>

			<DIV class=imicons><A> <IMG alt=查看详细资料
				src="<%=basePath%>BBS/tiezi_files/userinfo.gif"> </A></DIV>
			<DIV id=avatarfeed><SPAN id=threadsortswait></SPAN></DIV>
			</DIV>
			</DIV>
			<DIV>
			<DIV class=avatar onMouseOver="showauthor(this, 'userinfo1306')">
			<A><IMG src="<%=basePath%>BBS/tiezi_files/noavatar_middle.gif">
			</A></DIV>
			<P><EM><A><%=replyvo.getReplyName()%> </A> </EM></P>
			</DIV>
			<P><IMG alt="Rank: 1"
				src="<%=basePath%>BBS/tiezi_files/star_level1.gif"></P>
			</TD>
			<TD class=postcontent>
			<DIV class=postinfo>
			<DIV class=posterinfo>
			<DIV class=pagecontrol></DIV>
			<DIV class=authorinfo><IMG id=authicon1306 class=authicon
				onclick="showauthor(this, 'userinfo1306');"
				src="<%=basePath%>BBS/tiezi_files/online_member.gif"> <A
				class=posterlink><%=replyvo.getReplyName()%> </A><EM
				id=authorposton1306>发表于<%=replyvo.getReplyTime()%> </EM> | <A
				rel=nofollow>只看该作者</A> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a
				href="<%=basePath%>BBS/updateReply1.jsp?replyID=<%=replyvo.getRid()%>">修改帖子</a>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a
				href="<%=basePath%>bbsDealServlet?param=deleteReply&replyID=<%=replyvo.getRid()%>">删除帖子</a>
			</DIV>
			</DIV>
			</DIV>
			<DIV class=defaultpost>
			<DIV id=ad_thread2_2></DIV>
			<DIV id=ad_thread3_2></DIV>
			<DIV id=ad_thread4_2></DIV>
			<DIV class="postmessage ">
			<DIV class=t_msgfontfix>

			<TABLE cellSpacing=0 cellPadding=0>
				<TBODY>

					<TR>

						<TD height="38" class=t_msgfont id=postmessage_1306><%=replyvo.getReplyBody()%>
						</TD>
					</TR>
				</TBODY>
			</TABLE>
			</DIV>

			</DIV>
			</DIV>
			</TD>
		</TR>

	</TBODY>
</TABLE>
</DIV>
<%
					}
					replydao.close();
				%>
</DIV>




<DIV id=postlistreply class="mainbox viewthread">
<DIV style="DISPLAY: none" id=post_new class=viewthread_table></DIV>
</DIV>
<FORM id=modactions method=post name=modactions><INPUT
	value=ba3a486e type=hidden name=formhash> <INPUT type=hidden
	name=optgroup> <INPUT type=hidden name=operation> <INPUT
	value=page%3D1 type=hidden name=listextra></FORM>







<DIV style="DISPLAY: none" id=favoritewin>
<H5><A class=lightlink href="javascript:;">[收藏此主题]</A>&nbsp; <A
	class=lightlink href="javascript:;">[关注此主题的新回复]</A></H5>
<SPAN id=favorite_msg></SPAN></DIV>

<SCRIPT type=text/javascript>document.onkeyup = function(e){keyPageScroll(e, 0, 1, 'viewthread.php?tid=243', 1);}</SCRIPT>
</DIV>
<DIV id=ad_footerbanner1></DIV>
<DIV id=ad_footerbanner2></DIV>
<DIV id=ad_footerbanner3></DIV>
<DIV id=ad_img3>
<DIV id=ad_img3_l><IMG
	src="<%=basePath%>BBS/tiezi_files/imgsols.gif"></DIV>
<DIV id=ad_img3_r><A><IMG
	src="<%=basePath%>BBS/tiezi_files/imgsoad.jpg"> </A></DIV>
</DIV>
<DIV id=footer>
<DIV class="wrap s_clear">
<DIV id=footlink>
<P><STRONG><A>精英也疯狂</A> </STRONG> ( <A>苏ICP备09001746号</A>) <SPAN
	class=pipe>|</SPAN><A>联系我们</A> <SPAN class=pipe>|</SPAN><A>论坛统计</A><SPAN
	class=pipe>|</SPAN><A>WAP</A><SPAN class=pipe>| <SCRIPT
	language=JavaScript charset=gb2312></SCRIPT> </SPAN></P>
<P class=smalltext>GMT+8, 2010-3-12 15:16.</P>
</DIV>
<DIV id=rightinfo>
<P>Powered by <STRONG><A>Discuz!</A> </STRONG> <EM>7.2</EM> Theme
By <A><B>Imgso.com</B> </A> QQ:310836906</P>
<P class=smalltext>&copy; 2001-2009 <A>Comsenz Inc.</A></P>
</DIV>
</DIV>
</DIV>
</BODY>
</HTML>
